package cn.ffcs.organ.service;

import java.util.List;

import cn.ffcs.base.service.IBaseService;
import cn.ffcs.base.web.PageControl;
import cn.ffcs.organ.model.OrgRelaPerson;
import cn.ffcs.organ.model.Organization;
import cn.ffcs.organ.model.Person;

/**
 * 组织人员关系接口<br/>
 * <table>
 * <tr>
 * <td>负责人/principal:</td>
 * <td colspan="2">liuzhh</td>
 * <tr>
 * <td>修改记录/revision:</td>
 * <td colspan="2"></td>
 * </tr>
 * <tr>
 * <td>日期:</td>
 * <td>修改人:</td>
 * <td>修改说明:</td>
 * </tr>
 * <tr>
 * <td></td>
 * <td></td>
 * <td></td>
 * </tr>
 * </table>
 * @author liuzhh
 * @version $Id$
 */
public interface IOrgRelaPersonService<O extends OrgRelaPerson> extends
        IBaseService<O>
{
    /*
     * 查询一个组织下的所有员工
     */
    public PageControl findByPageByOrg(OrgRelaPerson orgRelaPerson,int currPage, int pageSize);
    
    public List<Person> findByPageByOrg(String orgId);
    
    public Organization findByPageByPersonId(String personId);
}
